<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="<%=request.getContextPath()%>/resources/css/addupdate.css" type="text/css">
    <style>
        input{position: relative;left: 30px;padding: 10px;}
        input[type=submit]{
            margin-left: -10px;margin-top: 20px;
        }
        h3{margin-left: 100px;}
        form{margin-top: -30px;}
    </style>
</head>
<body>
<div class="adduserdiv">
    <h3>id:${updateStudent.studentId}</h3>
    <form method="post"  action="/update">
    <input type="text" style="display: none;" value="${updateStudent.studentId}" name="studentId"><br/>
    <input type="text" placeholder="name:${updateStudent.studentName}" name="studentName"><br/>
    <input type="text" placeholder="nickname:${updateStudent.studentNickname}" name="studentNickname"><br/>
    <input type="text" placeholder="password:${updateStudent.studentPassword}" name="studentPassword"><br/>
    <input type="submit" value="确认更新">
</form>
</div>
</body>
</html>